package info.niwota.js;

import java.io.OutputStream;

public class DojoCompressor extends BaseCompressor implements Compressor {
	private static boolean escapeUnicode = false; 
	private static String stripConsole = null;
	
	@Override
	public void compress(byte[] script, OutputStream out) throws Exception {
		org.dojotoolkit.shrinksafe.Compressor.compressScript(new String(script), 0, 1, escapeUnicode, stripConsole);
	}
}
